package com.foryang.springcloud.dao;

import com.foryang.springcloud.entity.Payment;

import java.util.List;

public interface PaymentDao {

    public Payment getPaymentById(Long id);

    public List<Payment> findAll();

    public Payment create(Payment payment);

    public Object updateById(Payment payment);

    public Object deleteById(Long id);

}
